This document contains an overview of how to write classes and
packages for LATEX. It does not introduce all of the
commands necessary to write packages: these can be found in either or . But it does describe the new
commands for structuring classes and packages.
- Section
- contains some general advice about
writing classes and packages. It describes the difference between
classes and packages, the command naming conventions, the use of
|doc| and |docstrip|, how TEX's primitive file and box commands
interact with LATEX. It also contains some hints about general
LATEX style.
- Section
- describes the structure of classes
and packages. This includes building classes and packages on top of
other classes and packages, declaring options and declaring
commands. It also contains example classes.
- Section
- lists the new class and package
commands.
- Section
- gives detailed advice on how to
upgrade existing LATEX 2.09 classes and packages to LATEX2e.